// Copyright 2018 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.

@require "~styl/base/palette.styl"

.expandable
  cursor pointer
  width 100%
  height 100%
  display flex
  justify-content space-between
  align-items center

  .expandable__long
    width 95%

  .expandable__icon
    flex 0 0 auto
    padding-left 10px
    line-height 0

  &:hover .expandable__icon rect
    fill $link-color
